package com.example.lottery.service;

import com.example.lottery.controller.param.CreatePrizeParam;
import com.example.lottery.controller.param.FindPrizeListParam;
import com.example.lottery.service.dto.FindPrizeListDTO;
import com.example.lottery.service.dto.PrizeCreateDTO;
import com.example.lottery.service.dto.PrizeDTO;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

public interface IPrizeService {
    /**
     * 创建奖品
     * @param createPrizeParam  奖品基本信息
     * @param file 奖品图片
     * @return
     */
    PrizeCreateDTO createPrize(CreatePrizeParam createPrizeParam, MultipartFile file);

    /**
     *展示奖品列表
     * @param findPrizeListParam
     * @return
     */
    FindPrizeListDTO<PrizeDTO> findPrizeList(FindPrizeListParam findPrizeListParam);
}
